home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 13306 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: news.iadfw.net!usenet
  2. From: Mark Nelson <markn@airmail.net>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Does Borland share these MSVC++ problems?
  5. Date: Sun, 24 Mar 1996 16:18:24 -0600
  6. Organization: customer of Internet America
  7. Message-ID: <3155CA30.11CC@airmail.net>
  8. References: <4j2m6q$lg6@cnn.Princeton.EDU> <4j3udc$m6t@news1.h1.usa.pipeline.com>
  9. NNTP-Posting-Host: dal14-17.ppp.iadfw.net
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0GoldB2 (Win95; I)
  14.  
  15. >
  16. > >1. Do index variables declared in the for statement persist after the
  17. > loop?
  18. > >
  19. > Yes, but this is subject to change in future releases as the new
  20. > ANSI/ISO standard is implemented by the compiler developers.
  21. > I have not yet received BC++5.0 (I got the books but no compiler) so
  22. > I can not say how index vars are handled in that version.
  23.  
  24. Borland C++ 5.0 limits the scope to the loop, as the standard dictates.  
  25. (Breaking code right and left, but it's not their fault!)
  26.  
  27. > >2. Is there no `bool' builtin type?
  28. > >
  29. > As of MSVC++ 4.1, and BC++ 4.52, no.  Again, subject to change --
  30. > in fact, reading BC++ 5.0 literature, bool is implemented
  31. > in that version.
  32.  
  33. Correct.
  34.  
  35. Mark Nelson
  36. http://web2.airmail.net/markn
  37.